DefaultChart Sub Action Initializes the elements of the variable type ChartEnvironment for the specified chart type and style. Syntax DefaultChart env, type%, style% Remarks The DefaultChart procedure uses the following arguments. env --- A variable dimensioned as type ChartEnvironment. type% ----- An integer that defines the type of chart (1-5). style% ------ An integer that defines the style of the chart (1-2). The variable type% can use either numeric data or constants found in the CHRTB.BI file to define the chart as shown in the following table. Value Constant Type of chart 1 cBar Bar 2 cColumn Column 3 cLine Line 4 cScatter Scatter 5 cPie Pie The value of the variable style% determines the style of the chart as shown here. Value Bar Column Line Scatter Pie 1 Plain Plain Lines & points Lines & points Percent 2 Stacked Stacked Points only Points only No percent For program clarity, the following constants (found in the CHRTB.BI file) should be used in place of numeric arguments. Numeric argument Equivalent constant 1 cPlain, cLines, cPercent 2 cStacked, cNoLines, cNoPercent